﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AbetEvaluation.Master" AutoEventWireup="true" CodeBehind="ManageUsers.aspx.cs" Inherits="AbetEvaluation.Admin.ManageUsers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" 
		CellPadding="4" ForeColor="#333333" GridLines="None" DataKeyNames="UserName" 
		onselectedindexchanged="gvUsers_SelectedIndexChanged" AllowPaging="True" 
		AllowSorting="True" DataSourceID="ObjectDataSource1" 
		onrowdeleting="gvUsers_RowDeleting" PageSize="30">
		<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
		<Columns>
			<asp:BoundField DataField="UserName" HeaderText="User Name" />
			<asp:BoundField DataField="Email" HeaderText="Email" />
			<asp:BoundField DataField="Roles" HeaderText="Roles" />
			<asp:CommandField ButtonType="Button" ShowSelectButton="True" />
			<asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
		</Columns>
		<EditRowStyle BackColor="#999999" />
		<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
		<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
		<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
		<SortedAscendingCellStyle BackColor="#E9E7E2" />
		<SortedAscendingHeaderStyle BackColor="#506C8C" />
		<SortedDescendingCellStyle BackColor="#FFFDF8" />
		<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
	</asp:GridView>
	<asp:DetailsView ID="dvUser" runat="server" Height="50px" Width="125px" 
		CellPadding="4" ForeColor="#333333" GridLines="None">
		<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
		<CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
		<EditRowStyle BackColor="#999999" />
		<FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
		<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
		<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
	</asp:DetailsView>
	<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
		TypeName="AbetEvaluation.Business.Clients" SelectMethod="GetAllClients">
	</asp:ObjectDataSource>
	<asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
	</asp:Content>
